﻿{extends file="../home.html"}

{block name="title"}{$head_title}{/block}
    
{block name="css"}
{/block}

{block name="content"}
<!--s主内容-->
<section class="content-wrapper">
  <div class="content-container container">
    <!-- s面包屑导航 -->
    {include file="../breadcrum_nav.html"}
    <!-- e面包屑导航 -->
    <!-- s分类 -->
    <div class="col-left">
    {include file="../common_personal_nav.html"}
    </div>  
    <!-- e分类 -->
    <!-- s主内容 -->
    <div class="col-main">
        {include file="../common_personal_header.html"}
        <!-- s个人信息 -->
        <form class="form-horizontal" action="" method="post">
            <fieldset>
                <h6 class="form-title">添加收货地址</h6>
                 <div class="form-content">
                  <div class="fl">
                      <div class="control-group">
                        <label class="control-label"><span class="form-must">*</span>收货人姓名</label>
                        <div class="controls">
                            <input type="text" class="input-xlarge" id="realname" name="realname" value="{$realname}">
                        </div>
                      </div>
                      
                      <div class="control-group">
                        <label class="control-label"><span class="form-must">*</span>收货人手机</label>
                        <div class="controls">
                            <input type="text" class="input-xlarge" id="mobile" name="mobile" value="{$mobile}">
                        </div>
                      </div>
                      <div class="control-group">
                          <label class="control-label"><span class="form-must">*</span>收货地址</label>
                          <div class="controls">
                        <select class="small" id="province_id" name="province_id">  
                            {if !$province_id}
                            <option value="0">--选择省份--</option>
                            {/if}
                            {foreach from=$province_list item=province_item}
                                <option value="{$province_item.province_id}" {if isset($province_id) && $province_id == $province_item.province_id}selected{/if}>{$province_item.province_name}</option>  
                            {/foreach}
                        </select> 
                        <select class="small" id="city_id" name="city_id">  
                            {if !$city_id}
                            <option value="0">--选择城市--</option>  
                            {/if}
                            {foreach from=$city_list item=city_item}
                                <option value="{$city_item.city_id}" {if isset($city_id) && $city_id == $city_item.city_id}selected{/if}>{$city_item.city_name}</option>  
                            {/foreach}
                        </select> 
                        <span id="areaSelP">
                            <select class="small" id="area_id" name="area_id">  
                            <option value="0">--选择区域--</option>  
                            {foreach from=$area_list item=area_item}
                                <option value="{$area_item.area_id}" {if isset($area_id) && $area_id == $area_item.area_id}selected{/if}>{$area_item.area_name}</option>  
                            {/foreach}
                            </select> 
                        </span>
                          </div>
                        </div>
                        <div class="control-group">
                          <label class="control-label"><span class="form-must">*</span>收货详细地址</label>
                          <div class="controls">
                              <textarea class="input-xlarge" name="address" rows="2">{$address}</textarea>
                          </div>
                        </div>
                          <label class="control-label"><span class="form-must">*</span>默认收货地址</label>
                        <input type='radio' class="defalut" name="defalut" value="no" {if !isset($defalut)}checked{/if}> 否 </input>
                        <input type='radio' class="defalut" name="defalut" value="yes"   {if isset($defalut)}checked{/if}> 是 </input>
                        <div class="form-actions">
                            <button type="submit" class="btn btn-primary">保存</button>
                        </div>
                  </div>
                  
                 </div>
                </fieldset>
              </form>
        <!-- e个人信息 -->

    </div>
    <div class="clearfix"></div>
    <!-- e主内容 -->
  </div>
</section>
<!--e主内容-->
{/block}

{block name="js"}
<script src="__ACPJS__/acpcomm-min.js?version={$version}"></script>
{/block}
